package org.ehe.business.bom.domain.dto;

import lombok.Data;
import org.ehe.business.bom.domain.BomStructure;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * BOM创建请求
 * @author :zhangnn
 * @className :BomCreationRequest
 * @description: TODO
 * @date 2025-07-30 14:29:19
 */
@Data
public class BomCreationRequest {

    private Long id;
    /**
     * BOM编码
     */
    private String bomCode;

    /**
     * BOM名称
     */
    private String bomName;

    private Long drawId;

    private String status;

    private String approveStatus;


    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 项目名称
     */
    private String projectName;

    private Long solutionId;

    private String solutionName;

    private Date effectiveDate;

    private Date expireDate;
    /**
     * 备注信息
     */
    private String remark;

    private String currentVersion;
    /**
     * BOM结构项请求
     */
    private List<BomStructure> structureItems;

    /**
     * 预估完成小时数
     */
    private Integer estimatedHours;
    /**
     * 任务截止时间
     */
    private LocalDateTime taskDeadline;

    /**
     * 任务是否超期
     */
    private String isTaskTimeout;

    /**
     * 响应是否超期：处理状态：0-未处理，1-已处理，2-已超期,3-超期未处理，4超期已处理
     */
    private String isOverdue;

    /**
     * 响应 截止时间
     */
    private LocalDateTime isOverdueEndTime;

    private String workflowInstanceId;

    private String createBy;
    private String updateBy;
}
